package com.longcai.constants;

/**
 * @author 作者姓名
 * @description: TODO
 * @Title: WxConstants
 * @date 2019/3/20 10:26
 */
public final class WxConstants {

    /**
     * 微信APPID
     */
    public static final String APPID = "wx9f7b4f762cecb9be";
    /**
     * 微信AppSecret
     */
    public static final String APPSECRET = "0bbcde19d8a3e10fa51ed13f155095c6";
    /**
     * 微信授权URL
     */
    public static final String AUTH_BASE_URL = "https://open.weixin.qq.com/connect/oauth2/authorize";

    /**
     * 微信回调URL(获取token)
     */
    public static final String ACCESS_TOKEN_BASE_URL = "https://api.weixin.qq.com/sns/oauth2/access_token";
    /**
     * 用户信息URL
     */
    public static final String INFO_BASE_URL = "https://api.weixin.qq.com/sns/userinfo";

    /**
     * 回调域名
     */
    public static final String REDIRECT_URL = "http://clyj.gaojunjun.cn/webservice/clyjUser/wxCallBack";
    //EncodingAESKey:pwhXNmzxRFcfUweIrhZY0kLQ2PqIp1aNxyb6dw7D8AH
    /**
     * 允许的范围
     */
    public static final String SCOPE = "snsapi_userinfo";
    /**
     * token
     */
    public static final String TOKEN = "chenglianyijia";
    /**
     * 微信登陆跳转url
     */
    public static final String WXLOGINURL = "www.baidu.com";

    //绑定成功跳转
    public static final String WXLOGIN = "www.sohu.com";
    /**
     * 微信登陆失败跳转url
     */
    public static final String WXFAILURL = "http://clyj.gaojunjun.cn/from/#/binding?token=";

    /**
     * 微信获取access_token
     */
    public static final String ACCESS_TOKEN = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential";
    
    /**
     * 微信消息推送模板
     */
    public static final String MESSAGE_TEMPLATE = "https://api.weixin.qq.com/cgi-bin/message/template/send";
}
